package ldh.im.dto.base;

import ldh.im.dto.enmus.MessageType;

public abstract class ServerMessage<T> extends ServerReq {

    private MessageType messageType;       // 消息类型
    private Long fromUserId;               // 消息发送者
    private T content;

    public Long getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(Long fromUserId) {
        this.fromUserId = fromUserId;
    }

    public MessageType getMessageType() {
        return messageType;
    }

    public void setMessageType(MessageType messageType) {
        this.messageType = messageType;
    }

    public T getContent() {
        return content;
    }

    public void setContent(T content) {
        this.content = content;
    }
}
